Release 10.1A: OpenEdge Development:
Messaging and ESB
Sending messages to a PTP queue
The following general steps outline how a 4GL application sends a message to a queue:
- The application obtains a handle to the PTP Session object.
- The application creates a message by calling one of the following procedures from the Session object: createBytesMessage procedure, createDataSetMessage procedure, createHeaderMessage procedure, createMapMessage procedure, createMultipartMessage procedure, createStreamMessage procedure, createTempTableMessage procedure, or createXMLMessage procedure.
- The application populates the header fields, properties, and body of the message.
- The application calls the sendToQueue procedure in the Session object with the message handle and the name of a queue as input parameters.
- The application can use the message one or more times and then deletes it.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |